package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.TypeAlias;

/**
 * <p>
 *
 * </p>
 *
 * @author fire
 * @since 2020-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Orderproduct对象", description = "")
public class Orderproduct implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer orderId;

    private Integer productId;

    private Integer count;

    @ApiModelProperty(value = "评价")
    private String evaluate;

    private Integer start;
    
    @TableField(exist = false)
    private Product product;
    
    @TableField(exist = false)
    private User user;
    


}
